package com.maybach.core.form.order;

import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * Created by zhaoshuai on 16/2/25.
 */
public class AddLoanOrderFinanceForm implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @NotEmpty(message = "户名不能为空")
    private String accountName;

    @NotEmpty(message = "账号不能为空")
    private String accountNo;

    @NotEmpty(message = "开户行不能为空")
    private String openingBank;

    @NotEmpty(message = "金额不能为空")
    private Long amount;

    @NotEmpty(message = "财务类型不能为空")
    private String financeType;

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public String getOpeningBank() {
        return openingBank;
    }

    public void setOpeningBank(String openingBank) {
        this.openingBank = openingBank;
    }

    public Long getAmount() {
        return amount;
    }

    public void setAmount(Long amount) {
        this.amount = amount;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFinanceType() {
        return financeType;
    }

    public void setFinanceType(String financeType) {
        this.financeType = financeType;
    }
}
